#region Summary

// 
// Owner : JackieHan 
// 
// Solution : ResearchTest 
// 
// Project : Jackie.WcfSecret.DerivativesCalculator
// 
// File : Program.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : Summary
// 
// History : 
//			2011-07-12 10:59:34	    Create 
// 

#endregion

#region Using

using System;
using System.Collections.Generic;
using System.ServiceModel;

#endregion

namespace Jackie.WcfSecret.DerivativesCalculator
{
    ///<summary>
    ///Summary
    ///</summary>
    public class Program
    {
        public static void Main(string[] args)
        {
            var serviceType = typeof(DerivativesCalculatorServiceType);
            using (var host = new ServiceHost(serviceType))
            {
                host.Open();
                Console.WriteLine("the derivatives calculator service is available!");
                Console.ReadKey();
                host.Close();
            }
        }
    }
}